﻿<%@ Page Language="C#" ValidateRequest="false" Theme="WebMaster" MasterPageFile="~/WebMaster/MasterPage.master" AutoEventWireup="true" CodeFile="FAQAdd.aspx.cs" Inherits="webapp4U.UI.FAQAdd" %>
<%@ Register Src="~/WebMaster/Controls/Title.ascx" TagName="Title" TagPrefix="uc" %>
<%@ Import Namespace="webapp4U" %>
<%@ Register TagPrefix="webapp4U" Namespace="webapp4U.UI" %>
<%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageContent" Runat="Server">

<uc:Title runat="server" ResourceKey='Product_Add'  />
<table width="100%" border="0"  cellpadding="0" cellspacing="0">
    <tr >
        <td colspan="2" align="center">
            <asp:Panel runat="server" ID="PanelMsg" CssClass="lblMsg" Visible="false" Width="400px">
                <asp:Label runat="server" ID="lblMsg"></asp:Label>
            </asp:Panel>
            <asp:ValidationSummary runat="server" ID="valChangePasswordSummary" ShowMessageBox="true" ShowSummary="false" />			
        </td>
    </tr>
    <tr>
        <td valign="top" style="padding-top:5pt;">
            <table align="left" border="0" cellpadding="8" cellspacing="0">
                 <tr style="padding-top:10pt;">
                    <td width="130" align="right">Ngôn ngữ :</td>
                    <td>
                        <webapp4U:ddlLanguages runat="server" ID="dlLanguages" CssClass="Textbox" Width="255" EnableViewState="true" />
                        <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator4" ControlToValidate="dlLanguages" ErrorMessage="Bạn chưa chọn ngôn ngữ" Display="None"></asp:RequiredFieldValidator>
                    </td>
                </tr>                
               
                
                <tr style="padding-top:10pt;" >
                    <td align="right">Câu hỏi :</td>
                    <td>
                        <asp:TextBox ID="txtQuestion"  runat="server" Rows="5" TextMode="MultiLine" Width="400" MaxLength="700"></asp:TextBox>
                        <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator3" ControlToValidate="txtQuestion" ErrorMessage="Chưa nhập câu hỏi" Display="None" />
                    </td>
                </tr> 
                
                <tr>
                    <td align="right" valign="top">Trả lời :</td>
                    <td>                        
                        <FTB:FreeTextBox id="txtAnswer"  
                            TabIndex="3"
                            toolbarlayout="FontFacesMenu,FontSizesMenu,FontForeColorsMenu,FontForeColorPicker,FontBackColorsMenu,FontBackColorPicker|Bold,Italic,Underline,Strikethrough,RemoveFormat|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink|InsertTable,EditTable,InsertImageFromGallery"
                            runat="Server" ImageGalleryPath="~/UserUpload/Products"
                            Width="585px" Height="200px"
                            />
                    </td>
                </tr>
                
                <tr style="padding-top:7pt; padding-right:3pt; padding-bottom:20pt;">
                    <td colspan="2" align="right">
                        <asp:Button runat="server" ID="btSave" OnClick="btSave_Click" Text=" Save " />
                    </td>
                </tr>
           </table>
        </td>
    </tr>
</table>
<br /><br /><br />

</asp:Content>

